package org.ppassantini.cham.core.business.security.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * The Entity class for the table menu
 * 
 * @author ppassantini
 */
@Entity
@Table(name = "menu")
public class Menu implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 492115235848838269L;
	@Id
	@Column(name="idmenu")
	private int idmenu;
	@Column(name="description")
	private String description;
	@Column(name="mnemonic")
	private String mnemonic;

	/**
	 * @return
	 */
	public int getIdmenu() {
		return idmenu;
	}

	/**
	 * @param idmenu
	 */
	public void setIdmenu(int idmenu) {
		this.idmenu = idmenu;
	}

	/**
	 * @return
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param description
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * @return
	 */
	public String getMnemonic() {
		return mnemonic;
	}

	/**
	 * @param mnemonic
	 */
	public void setMnemonic(String mnemonic) {
		this.mnemonic = mnemonic;
	}

}
